package proxy;

import java.net.URI;

/**
 * @Author: admin
 * @Description:
 * @Date: 2019/5/30 15:53
 */

public class UriMain {

    private String aa;
    private   class A{
        private String name;

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }
        public void sout(){
            System.out.println(aa);
        }
    }

    public void doGet(final A a){
        //a=new A();
        a.setName("12");
    }

    public static void main(String[] args) {
        UriMain uriMain=new UriMain();
        uriMain.aa ="123123";
        A a=uriMain.new A();
        a.sout();
        a.setName("1234");
        System.out.println(a.getName());
        uriMain.doGet(a);
        System.out.println(a.getName());
    }
}
